package com.wugh.fast.module.mapper.service.impl;


import com.wugh.fast.module.mapper.service.DynamicSchemaService;

import javax.servlet.http.HttpServletRequest;

/**
 * 说明:
 *
 * @author wugh
 * @date 2018-12-03 10:00
 */
public class RequestParameterSchemaService implements DynamicSchemaService {
    public static final String DYNAMIC_SCHEMA_PARAMETER = "_schema";

    @Override
    public String obtainSchema(HttpServletRequest request) {
        return request.getParameter(DYNAMIC_SCHEMA_PARAMETER);
    }
}
